package com.alks.entity.data.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author ms
 * @since 2024-01-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PS_LINE")
@ApiModel(value="PsLine对象", description="")
public class PsLine implements Serializable {

    private static final long serialVersionUID = 1L;

    @JsonIgnore
    @ApiModelProperty(value = "公司ID")
    private String companyId;

    @ApiModelProperty(value = "车间代码")
    private String workshop;

    @ApiModelProperty(value = "车间名称")
    private String line;

    @JsonIgnore
    @ApiModelProperty(value = "用户ID")
    private String userId;

    @JsonIgnore
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime sysDate;

    @ApiModelProperty(value = "日产能（双）")
    private BigDecimal ieQty;

    @ApiModelProperty(value = "生产线名称")
    private String workshopName;

    @ApiModelProperty(value = "序号")
    private BigDecimal seqNo;

    @JsonIgnore
    private String vendorFlag;

    @ApiModelProperty(value = "人数")
    private BigDecimal persons;

    private BigDecimal ppdQty;


}
